﻿@{
    ViewBag.Title = "Index";
    Layout = "~/Views/Shared/Admin/_AdminLayout.cshtml";
}
@model IEnumerable<BabyToys.Models.LoaiKhachHang>
<div style="background: #fff; text-align: right; height: 60px; width: 100%; font-size: 12px; border: 1px solid #ccc;">
    <span style="font-size: 18px; font-weight: bold; float: left; padding-top: 17px; padding-left: 15px;">
        <img src="../../Content/Images/Admin/product.png" />
        QUẢN LÍ KHÁCH HÀNG
    </span>
</div>
<div>
            <br />
        <a href="~/AdminKhachHang/ThemLoaiKhachHang" class="normal blue button input">Thêm mới</a>
        <a href="~/admin" class="normal black button input">Thoát</a>
        @Html.Raw(ViewBag.ThongBao)
        <br />
</div>
<br />

<table cellspacing="0" rules="rows" class="rows" border="1" style="width: 100%; border-collapse: collapse;">
    <tr class="item_title" style="color: White; background-color: #CCCCCC; font-family: Tahoma; font-size: 12px; font-weight: bold; height: 30px;">
        <th>ID</th>
        <th>Tên loại</th>
        <th>Điểm cần</th>
        <th>Giảm giá (%)</th>
        <th></th>
        
    </tr>
    @foreach (var loaikhachhang in Model)
    {
        <tr class="item_row" style="border-color: #F0F0F0; border-style: Solid; height: 40px;">
            <td class="item_float">@loaikhachhang.IdLoaiKhachHang</td>
            <td class="item_float">@loaikhachhang.TenLoai</td>
            <td class="item_float">@loaikhachhang.Diem</td>
            <td class="item_float">@loaikhachhang.GiamGia</td>
            <td class="item_float">
                <div class="hidden-phone visible-desktop action-buttons">
                    <a href="~/AdminKhachHang/SuaLoaiKhachHang/@loaikhachhang.IdLoaiKhachHang" class="btnXoa small blue button btnSua">Sửa</a>
                </div>
            </td>
        </tr>
    }
</table>

